package net.scdx.hotel.service;

import net.scdx.hotel.entity.Room;

import java.util.List;

public interface RoomService {
    /**
     * select rooms by hotel id
     */
    List<Room> queryRoomsByHotelId(Integer hotelId) throws Exception;

    Room queryRoomByRoomId(Integer roomId) throws Exception;

    boolean modifyRoomAmount(Integer roomId,Integer res) throws Exception;

    boolean modifyIsempty(Integer roomId) throws Exception;


}
